package com.vv.tools.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vv.tools.modules.sys.entity.Captcha;

import java.awt.image.BufferedImage;

/**
 * <p>
 * 系统验证码 服务类
 * </p>
 *
 * @author vv
 * @since 2025-02-19
 */
public interface CaptchaService extends IService<Captcha> {

    BufferedImage getCaptcha(String uuid);

    boolean validate(String uuid, String code);

}
